#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>

#include "y.tab.h"

extern FILE *yyin;
extern FILE *yyout;

int main(int argc, char *argv[]) {
	yyin = fopen(argv[1], "r");
        if(yyin == NULL) {
		perror("Fatal error opening input");
		return 1;
	}

	
	yyparse();
	fclose(yyin); 
	
	return 0;
}
